#ifndef __CONTROL_H
#define __CONTROL_H
#endif

#define BUT1 RA0
#define BUT1_PORT PORTA

#define BUT2 RA0
#define BUT2_PORT PORTA

#define BUT3 RA0
#define BUT3_PORT PORTA

uint_8 light_state;

const uint_8 light_s1_inactive = 0;
const uint_8 light_s1_active = 1;
const uint_8 light_s2_inactive = 3;
const uint_8 light_s2_active = 4;


void light_init();
void light_start();
void light_update(uint_8 ms); // entprellen

uint_8 light_getResult();